<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                {% for bar in barcode %}
                    <img src="{{ bar.img }}"/>
                {% endfor %}
            </div>
        </div>
    </div>
</body>
</html>